from django.urls import path

from shopper.views import shopcartView, logoutView, loginView, shopperView, payCallbackView, paysView, deleteAPI

#from .views import  *#
urlpatterns=[
    #个人中心页
     path('.html',shopperView,name='shopper'),
    # #登陆注册页
     path('/login.html',loginView,name='login'),
    # #注销
     path('/loginout.html',logoutView,name='loginout'),
    # #购物车页
     path('/shopcart.html',shopcartView,name='shopcart'),
     # 删除商品API路由
     path('/delete.html', deleteAPI, name='delete'),
     # 支付页面路由
     path('/pays.html', paysView, name='pays'),
     path('/pay_callback/', payCallbackView, name='pay_callback'),
]
